package com.shihb.chapter07designpattern.proxypattern

/**
 * Description:
 *
 * @author shihb
 * @date 2020/10/4 19:32
 */
class PersonInfoImpl extends  PersonInfo {
  var info: String =_
  var hobby: String =_
  var score: Double = _

  override def getInfo: String = info

  override def getHobby: String = hobby

  override def getScore: Double = score

  override def setInfo(info: String): Unit = this.info=info

  override def setHobby(hobby: String): Unit = this.hobby=hobby

  override def setScore(score: Double): Unit = this.score=score

}
